package org.srx.struts.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class UserForm extends ActionForm {

	private int user_id;
	private String password;
	private String user_name;
	private String user_dac;

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getUser_dac() {
		return user_dac;
	}

	public void setUser_dac(String user_dac) {
		this.user_dac = user_dac;
	}

	/**
	 * validate验证方法
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		
		
		return null;
	}
}